package com.smedi.ismedi.dangeroussourcemanage.api.dto.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 根据条件获取危险源数据列表移动端
 *
 * @author xienannan
 * @date 2021/08/23
 */
@Data
@ApiModel(value = "根据条件获取危险源数据列表移动端")
public class MobileQueryDangerousSourceListRequest {
    @ApiModelProperty(value = "项目id集合", required = true)
    @NotEmpty(message = "项目id不能为空")
    private List<Long> projectIds;

    @ApiModelProperty(value = "危险源名称/工程类别")
    private String keyHazardsOrEngineeringCategory;

    @ApiModelProperty(value = "施工状态 [-1:未实施][0:正在实施][1:实施完成]")
    private List<String> constructionStatus;

    @ApiModelProperty(value = "当前页码", example = "1", required = true)
    @NotNull(message = "当前页码不能为空")
    private Long pageNum;

    @ApiModelProperty(value = "每页行数", example = "10", required = true)
    @NotNull(message = "每页行数不能为空")
    private Long pageSize;
}
